function myInstanceOf(obj, proto) {
  obj = obj.__proto__
  while(obj !== null) {
    if(obj === proto.prototype) {
      return true
    }
    obj = obj.__proto__
  }
  return false
}
console.log(Object.getPrototypeOf(''));


//  const p = new Person()

// console.log(p);
function foo(arg1, arg2) {
  const Person = () => {
    console.log(arguments);
    
    this.name  = 'jj'
  }
  //
  Person('c')
}
foo('a', 'b')
